package com.huangfu.learning.javabase.web.service;

import com.huangfu.learning.javabase.web.entity.User;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/8/18
 * Time: 14:06
 * Version: 1.0
 * Description:
 **/
public interface UserService {
    User login(User user);

    User getUserById(String id);

    void add(User user);

    void update(User user);
}
